7.0
HIGH CVSS 3.1
CVE-2022-25165
Amazon AWS VPN Client TOCTOU Race Condition WRITE Vulnerability
Description

An issue was discovered in Amazon AWS VPN Client 2.0.0. A TOCTOU race condition exists during the validation of VPN configuration files. This allows parameters outside of the AWS VPN Client allow list to be injected into the configuration file prior to the AWS VPN Client service (running as SYSTEM) processing the file. Dangerous arguments can be injected by a low-level user such as log, which allows an arbitrary destination to be specified for writing log files. This leads to an arbitrary file write as SYSTEM with partial control over the files content. This can be abused to cause an elevation of privilege or denial of service.

INFO

Published Date :

April 14, 2022, 4:15 p.m.

Last Modified :

Nov. 21, 2024, 6:51 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2022-25165 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Amazon aws_client_vpn
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2022-25165 has a 17 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-25165.

URL Resource
https://github.com/RhinoSecurityLabs/CVEs Exploit Third Party Advisory
https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ Exploit Third Party Advisory
https://github.com/RhinoSecurityLabs/CVEs Exploit Third Party Advisory
https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-25165 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-25165 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 day, 6 hours ago
0 stars 0 fork 0 watcher
Born at : Sept. 15, 2025, 12:52 p.m. This repo has been linked 2 different CVEs too.

None

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Aug. 1, 2025, 6:30 a.m. This repo has been linked 2 different CVEs too.

awesome-aws-security

Updated: 8 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Dec. 23, 2024, 7:58 a.m. This repo has been linked 5 different CVEs too.

None

Updated: 1 year, 2 months ago
0 stars 0 fork 0 watcher
Born at : July 12, 2024, 5:32 a.m. This repo has been linked 5 different CVEs too.

None

Updated: 1 year, 6 months ago
2 stars 1 fork 1 watcher
Born at : Sept. 12, 2023, 8:11 p.m. This repo has been linked 5 different CVEs too.

None

Updated: 2 years, 4 months ago
0 stars 0 fork 0 watcher
Born at : May 10, 2023, 3:37 p.m. This repo has been linked 2 different CVEs too.

gh repo clone jassics/awesome-aws-security

Updated: 2 years, 2 months ago
2 stars 0 fork 0 watcher
Born at : Feb. 23, 2023, 4:13 p.m. This repo has been linked 5 different CVEs too.

work in progress

Updated: 1 year ago
6 stars 0 fork 0 watcher
Born at : Feb. 2, 2023, 2 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 years, 8 months ago
1 stars 0 fork 0 watcher
Born at : Dec. 19, 2022, 12:48 p.m. This repo has been linked 5 different CVEs too.

None

Updated: 9 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 7, 2022, 8:44 a.m. This repo has been linked 2 different CVEs too.

Azure and AWS Attacks

aws azure cloud-attack cloud-pentesting cloudpentest gcp redteam

Updated: 1 month, 4 weeks ago
1103 stars 244 fork 244 watcher
Born at : Sept. 18, 2022, 4:23 p.m. This repo has been linked 2 different CVEs too.

A collection of proof-of-concept exploit scripts written by the team at Rhino Security Labs for various CVEs.

Shell

Updated: 3 years, 3 months ago
0 stars 0 fork 0 watcher
Born at : May 28, 2022, 6:42 p.m. This repo has been linked 34 different CVEs too.

None

Shell Python HTML PowerShell

Updated: 2 years, 11 months ago
1 stars 0 fork 0 watcher
Born at : May 27, 2022, noon This repo has been linked 34 different CVEs too.

None

Shell Python HTML PowerShell

Updated: 3 years ago
2 stars 0 fork 0 watcher
Born at : May 27, 2022, 11:59 a.m. This repo has been linked 34 different CVEs too.

This repo has been replaced by https://www.cloudvulndb.org

Updated: 3 months ago
727 stars 51 fork 51 watcher
Born at : Nov. 28, 2021, 9:23 p.m. This repo has been linked 7 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-25165 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-25165 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/RhinoSecurityLabs/CVEs
    Added Reference https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    May. 13, 2022

    Action Type Old Value New Value
    Added Evaluator Description At the time of analysis the advisory information and CVE List data did not consistently identify which data was applicable to CVE-2022-25166 and CVE-2022-25165. We have associated metadata based on what was published to the official CVE List.
    Removed CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:C/I:C/A:C)
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/RhinoSecurityLabs/CVEs Third Party Advisory https://github.com/RhinoSecurityLabs/CVEs Exploit, Third Party Advisory
    Removed CWE NIST CWE-668
    Added CWE NIST CWE-367
  • Initial Analysis by [email protected]

    Apr. 21, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/RhinoSecurityLabs/CVEs No Types Assigned https://github.com/RhinoSecurityLabs/CVEs Third Party Advisory
    Changed Reference Type https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ No Types Assigned https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/ Exploit, Third Party Advisory
    Added CWE NIST CWE-668
    Added CPE Configuration OR *cpe:2.3:a:amazon:aws_client_vpn:2.0.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.9
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.64 }} -0.12%

score

0.81006

percentile